﻿<%@ Page Title="Creacion de Flujo" Language="C#" MasterPageFile="~/Principal.Master" AutoEventWireup="true" CodeBehind="CreacionFlujo.aspx.cs" Inherits="HelpDesk.CreacionFlujo" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        #Datos
        {
            text-align: center;
        }
        #tabla
        {
            width: 858px;
        }
        .style4
        {
            width: 101px;
            height: 26px;
        }
        .style8
        {
            text-align: right;
            height: 44px;
            width: 101px;
        }
        .style9
        {
        }
        .style14
        {
            height: 578px;
        }
        .style15
        {
            text-align: left;
            height: 18px;
            width: 101px;
        }
        .style16
        {
            height: 18px;
        }
        .style17
        {
            text-align: right;
            width: 101px;
            height: 26px;
        }
        .style18
        {
            height: 26px;
        }
        .style24
        {
            height: 22px;
        }
        .style29
        {
        }
        .style30
        {
            text-align: right;
            width: 101px;
            height: 39px;
        }
        .style31
        {
            height: 39px;
        }
        .style33
        {
            height: 26px;
            width: 128px;
        }
        .style34
        {
            height: 18px;
        }
        .style35
        {
            text-align: right;
            height: 106px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <div class="post">
			<h1 class="title"><a href="#">Flujos</a></h1>
			<p class="meta"></p>
		</div>
		
        <table id="tabla" border="0" class="style14">
            <tr>
                <td class="style15">
                    ID Flujo:</td>
                <td style="text-align: left" class="style16">
                    <asp:Label ID="lblIDFlujo" runat="server"></asp:Label>
                    <asp:TextBox ID="txtIDFlujo" runat="server" Visible="False" Width="38px"></asp:TextBox>
                    </td>
                <td colspan="2" class="style34">
                    &nbsp;
                    <asp:Button ID="btnOK" runat="server" onclick="btnOK_Click" 
                        style="height: 26px" Text="Buscar" Visible="False" />
                    <asp:Label ID="lblErrorDDLFlujo" runat="server" 
                        
                        
                        
                        style="color: #00FF00; font-weight: 700; font-size:small; text-align: left;"></asp:Label>
                </td>
                <td style="text-align: left" class="style16">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style15">
                    Descripcion del Flujo:</td>
                <td style="text-align: left" class="style16" colspan="3">
                    &nbsp;<asp:TextBox ID="txtDescripcionFlujo" runat="server" Height="27px" 
                        style="text-align: left" Width="351px" TabIndex="2" 
                        ontextchanged="txtDescripcionFlujo_TextChanged"></asp:TextBox>
                </td>
                <td style="text-align: left" class="style16">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style30">
                    <asp:Label ID="lblProblema" runat="server" Text="Problema:" 
                        style="text-align: right"></asp:Label>
                </td>
                <td style="text-align: left" class="style31" colspan="3">
                    <asp:TextBox ID="txtDescripcionProblema" runat="server" Visible="False" 
                        ontextchanged="txtDescripcionProblema_TextChanged"></asp:TextBox>
                    <asp:DropDownList ID="ddlIDProblema" runat="server" 
                        OnSelectedIndexChanged="ddlIDProblema_SelectedIndexChanged" 
                        onload="ddlIDProblema_SelectedIndexChanged" AutoPostBack="True" 
                        ontextchanged="ddlIDProblema_SelectedIndexChanged">
                    </asp:DropDownList> 
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="ddlIDProblema" ErrorMessage="*Requerido"></asp:RequiredFieldValidator>
                </td>
                <td style="text-align: left" class="style31">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style35" colspan="3">
                    <br />
                    <br />
                    <br />
                    <br />
                    <asp:Label ID="lblMensajeAccion" runat="server" 
                        
                        
                        style="color: #00FF00; font-weight: 700; font-size:small; text-align: left;"></asp:Label>
                    <br />
                    <asp:Button ID="btnModificarOK" runat="server" onclick="btnModificarOK_Click" 
                        Text="Modificar" Visible="False" Width="87px" />
                    <br />
                    <br />
                </td>
                <td style="text-align: left" class="style29" colspan="2" rowspan="5">
                    <asp:Label ID="lblMensajeAccion0" runat="server" 
                        
                        
                        
                        style="color: #00FF00; font-weight: 700; font-size:small; text-align: left;">FLUJO ACTUAL:</asp:Label>
                    <br />
                    <asp:Label ID="lblMensajeAccion1" runat="server" 
                        
                        
                        
                        style="color: #00FF00; font-weight: 700; font-size:small; text-align: left;" 
                        Font-Size="X-Large" ForeColor="#BFE119">Paso   | Descripción del paso .....................................| Tiempo de ejecución (Horas)</asp:Label>
                    <br />
                    <asp:ListBox ID="lbDescripcion" runat="server" Height="391px" 
                        style="text-align: left" Width="568px" BackColor="#15212F" 
                        Font-Bold="True" Font-Size="Medium" ForeColor="#BFE119" 
                        onselectedindexchanged="lbDescripcion_SelectedIndexChanged" 
                        ontextchanged="lbDescripcion_SelectedIndexChanged"></asp:ListBox>
                </td>
            </tr>
            <tr>
                <td class="style8">
                    <asp:Label ID="lblNoPaso" runat="server" Text="No. de Paso"></asp:Label>
                    <br />
                    <br />
                    <br />
                    <asp:Label ID="lblDescripcion" runat="server" Text="Descripcion del Paso:"></asp:Label>
                    <br />
                    <br />
                    <br />
                    <asp:Label ID="lblTiempoEjecucion" runat="server" 
                        Text="Tiempo de ejecución (Horas):"></asp:Label>
                </td>
                <td style="text-align: left" class="style9" colspan="2">
                    <asp:TextBox ID="txtPaso" runat="server" Enabled="False" Width="37px"></asp:TextBox>
                    <br />
                    <br />
                    <asp:TextBox ID="txtDescripcion" runat="server" Height="56px" 
                        style="text-align: left" Width="172px" TabIndex="2" MaxLength="100" 
                        TextMode="MultiLine"></asp:TextBox>
                    <br />
                    <br />
                    <br />
                    <asp:TextBox ID="txtTiempoEjecucion" runat="server" Height="25px" TabIndex="3" 
                        Width="44px" MaxLength="6">00.00</asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style8">
                    &nbsp;</td>
                <td style="text-align: left" class="style9" colspan="2">
                    <asp:Button ID="btnIngresar" runat="server" Height="33px" 
                        onclick="btnIngresar_Click" Text="Agregar al flujo  &gt;&gt;&gt;" Width="160px" 
                        TabIndex="4" />
                    <br />
                    <asp:Button ID="btnModificar" runat="server" Height="34px" 
                        onclick="btnModificar_Click" Text="Modificar y Agregar &gt;&gt;&gt;" 
                        Visible="False" Width="160px" />
                    <br />
                </td>
            </tr>
            <tr>
                <td class="style8">
                    &nbsp;</td>
                <td style="text-align: left" class="style9" colspan="2" rowspan="2">
                    <asp:Label ID="lblMensaje" runat="server" 
                        
                        style="color: #00FF00; font-weight: 700; font-size: medium; text-align: left;"></asp:Label>
                    <br />
                </td>
            </tr>
            <tr>
                <td class="style8">
                    &nbsp;</td>
            </tr>
            <tr>
                <td class="style17">
                    &nbsp;</td>
                <td style="text-align: left" class="style18">
                    &nbsp;</td>
                <td style="text-align: left" class="style33">
                    <asp:Label ID="lblPasos0" runat="server" Text="Asignar a empleado: " 
                        style="text-align: right" Visible="False"></asp:Label>
                </td>
                <td style="text-align: left" class="style18">
                    <asp:Button ID="btnGuardar" runat="server" Text="Guardar" Width="121px" 
                        onclick="btnGuardar_Click" TabIndex="6" Height="41px" Visible="False" />
                    <asp:DropDownList ID="ddlAsignaEmpleado" runat="server" TabIndex="5" 
                        Visible="False">
                    </asp:DropDownList>
                </td>
                <td style="text-align: left" class="style18">
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="5" class="style24">
                    &nbsp;</td>
            </tr>
            <tr>
                <td style="text-align: right" class="style4">
                    &nbsp;</td>
                <td style="text-align: left" class="style18">
                    &nbsp;</td>
                <td style="text-align: left" class="style33">
                    &nbsp;</td>
                <td style="text-align: left" class="style18">
                    <asp:Button ID="btnBorrar" runat="server" Text="Modificar" Width="80px" 
                        Visible="False"/>
                </td>
                <td style="text-align: left" class="style18">
                    &nbsp;</td>
            </tr>
        </table>
</asp:Content>

